gtk_widget_intersect: fix annotations
authorChristoph Reiter <reiter.christoph@gmail.com>
Thu, 30 Mar 2017 08:45:00 +0000 (10:45 +0200)
committerChristoph Reiter <creiter@src.gnome.org>
Thu, 30 Mar 2017 09:19:32 +0000 (11:19 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=773228

gtk/gtkwidget.c

index 4b00503ddbe7248042b31b12e3dc1f25305d850d..33547f1a236d8b71999ae090d8138db247639658 100644 (file)
@@ -7062,7 +7062,8 @@ gtk_widget_activate (GtkWidget *widget)
  * gtk_widget_intersect:
  * @widget: a #GtkWidget
  * @area: a rectangle
- * @intersection: (nullable): rectangle to store intersection of @widget and @area
+ * @intersection: (out caller-allocates) (optional): rectangle to store
+ *   intersection of @widget and @area
  *
  * Computes the intersection of a @widget’s area and @area, storing
  * the intersection in @intersection, and returns %TRUE if there was